package com.leihao.product.domian;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * 商品品牌
 */

public class ProductBrand {

    /**
     * 品牌编号
     */
    @NotNull(message = "主键编号不能为空")
    private Integer productBrandId;
    /**
     * 品牌名称
     */
    @NotBlank(message = "商品名称不能为空")
    @Size(min = 0, max = 10, message = "字符长度在0~10之内")
    private String brandName;
    /**
     * 品牌首字母
     */
    private String brandInitial;
    /**
     * 品牌LOGO
     */
    private String brandLogo;
    /**
     * 品牌专区大图
     */
    private String brandImage;
    /**
     * 品牌故事
     */
    private String brandStory;
    /**
     * 排序
     */
    private Integer isSort;
    /**
     * 是否显示 0 :显示 1:不显示
     */
    private Integer isShow;
    /**
     * 品牌制造商 0:是 1:否
     */
    private Integer brandManufacturer;
    /**
     * 逻辑删除 0:是 1:否
     */
    private Integer isDelete;

    public Integer getProductBrandId() {
        return productBrandId;
    }

    public void setProductBrandId(Integer productBrandId) {
        this.productBrandId = productBrandId;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public String getBrandInitial() {
        return brandInitial;
    }

    public void setBrandInitial(String brandInitial) {
        this.brandInitial = brandInitial;
    }

    public String getBrandLogo() {
        return brandLogo;
    }

    public void setBrandLogo(String brandLogo) {
        this.brandLogo = brandLogo;
    }

    public String getBrandImage() {
        return brandImage;
    }

    public void setBrandImage(String brandImage) {
        this.brandImage = brandImage;
    }

    public String getBrandStory() {
        return brandStory;
    }

    public void setBrandStory(String brandStory) {
        this.brandStory = brandStory;
    }

    public Integer getIsSort() {
        return isSort;
    }

    public void setIsSort(Integer isSort) {
        this.isSort = isSort;
    }

    public Integer getIsShow() {
        return isShow;
    }

    public void setIsShow(Integer isShow) {
        this.isShow = isShow;
    }

    public Integer getBrandManufacturer() {
        return brandManufacturer;
    }

    public void setBrandManufacturer(Integer brandManufacturer) {
        this.brandManufacturer = brandManufacturer;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public ProductBrand() {
    }

    public ProductBrand(Integer productBrandId, String brandName, String brandInitial, String brandLogo, String brandImage, String brandStory, Integer isSort, Integer isShow, Integer brandManufacturer, Integer isDelete) {
        this.productBrandId = productBrandId;
        this.brandName = brandName;
        this.brandInitial = brandInitial;
        this.brandLogo = brandLogo;
        this.brandImage = brandImage;
        this.brandStory = brandStory;
        this.isSort = isSort;
        this.isShow = isShow;
        this.brandManufacturer = brandManufacturer;
        this.isDelete = isDelete;
    }
}
